package net.dengzixu.java.homework.period10;

/**
 * @author Deng Zixu <admin@dengzixu.com>
 */
public class Period10Homework3 {
    public static void main(String[] args) {
        System.out.println(isLeapYear(2000));
    }

    public static boolean isLeapYear(int t) {
        return t % 4 == 0 && t % 100 != 0;
    }
}
